﻿//LogLevels.cs
//Copyright (c) 2013 StockSharp LLC, all rights reserved.
//This code module is part of StockSharp library.
//This code is licensed under the GNU GENERAL PUBLIC LICENSE Version 3.
//See the file License.txt for the license details.
//More info on: http://stocksharp.com

namespace StockSharp.Logging
{
	using System.Runtime.Serialization;

	/// <summary>
	/// Уровни лог-сообщений <see cref="LogMessage"/>.
	/// </summary>
	[DataContract]
	public enum LogLevels
	{
		/// <summary>
		/// Использовать уровень логирования контейнера.
		/// </summary>
		[EnumMember]Inherit,

		/// <summary>
		/// Отладочное сообщение, информация, предупреждения и ошибки.
		/// </summary>
		[EnumMember]Debug,
		
		/// <summary>
		/// Информация, предупреждения и ошибки.
		/// </summary>
		[EnumMember]Info,

		/// <summary>
		/// Предупреждения и ошибки.
		/// </summary>
		[EnumMember]Warning,
		
		/// <summary>
		/// Только ошибки.
		/// </summary>
		[EnumMember]Error,

		/// <summary>
		/// Логи выключены.
		/// </summary>
		[EnumMember]Off,
	}
}